class VoiceprintmonitorBean {
  String complexity;
  String energyRatio;
  String markerTime;
  String oddEvenRatio;
  String result;
  String runningState;
  String runningStatus;
  String sensorName;
  String soundPressureLevel;
  List<String> spectrumStr;

  VoiceprintmonitorBean(
      {this.complexity,
        this.energyRatio,
        this.markerTime,
        this.oddEvenRatio,
        this.result,
        this.runningState,
        this.runningStatus,
        this.sensorName,
        this.soundPressureLevel,
        this.spectrumStr});

  VoiceprintmonitorBean.fromJson(Map<String, dynamic> json) {
    complexity = json['complexity'];
    energyRatio = json['energyRatio'];
    markerTime = json['markerTime'];
    oddEvenRatio = json['oddEvenRatio'];
    result = json['result'];
    runningState = json['runningState'];
    runningStatus = json['runningStatus'];
    sensorName = json['sensorName'];
    soundPressureLevel = json['soundPressureLevel'];
    spectrumStr = json['spectrumStr'] !=null?json['spectrumStr'].cast<String>():json['spectrumStr'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['complexity'] = this.complexity;
    data['energyRatio'] = this.energyRatio;
    data['markerTime'] = this.markerTime;
    data['oddEvenRatio'] = this.oddEvenRatio;
    data['result'] = this.result;
    data['runningState'] = this.runningState;
    data['runningStatus'] = this.runningStatus;
    data['sensorName'] = this.sensorName;
    data['soundPressureLevel'] = this.soundPressureLevel;
    data['spectrumStr'] = this.spectrumStr;
    return data;
  }

  @override
  String toString() {
    return 'VoiceprintmonitorBean{complexity: $complexity, energyRatio: $energyRatio, markerTime: $markerTime, oddEvenRatio: $oddEvenRatio, result: $result, runningState: $runningState, runningStatus: $runningStatus, sensorName: $sensorName, soundPressureLevel: $soundPressureLevel, spectrumStr: $spectrumStr}';
  }
}
